package cn.edu.neusoft.food729.service;

import java.util.List;

import cn.edu.neusoft.food729.Bean.FoodListBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface FoodListService {
    @GET("getFoodByShop.do")
    Call<List<FoodListBean>> getFoodByShop(
            @Query("shop_id") int shop_id);

    @GET("getFoodBySearch.do")
    Call<List<FoodListBean>> getFoodBySearch(
            @Query("search") String search);
}
